package com.example.tests;

import org.testng.annotations.Test;

public class GroupCreationTests extends TestBase{
  @Test
  public void testNonEmptyGroupCreation() throws Exception {
	openMainPage();
	gotoGroupsPage();
	initGroupCreation();
	GroupData group = new GroupData();
	group.groupName = "group name 1";
	group.header = "group header 1";
	group.footer = "group footer 1";
	fillGroupForm(group);
	extractGroupCreation();
	returnToGoupsPage();
  }

  
  @Test
  public void testEmptyGroupCreation() throws Exception {
	openMainPage();
	gotoGroupsPage();
	initGroupCreation();
	GroupData group = new GroupData();
	group.groupName = "";
	group.header = "";
	group.footer = "";	
	fillGroupForm(group);
	extractGroupCreation();
	returnToGoupsPage();
  }
}
